﻿using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace SchoolManagementSystem.Report._4._Kho
{
    public partial class StockIn_ProposePrint : DevExpress.XtraReports.UI.XtraReport
    {
        public StockIn_ProposePrint()
        {
            InitializeComponent();
        }
        public string VoucherNo;
        public DateTime VoucherDate;
        public string EmployeeName;
        public string InputMethod;
        public string PaymentMethod;
        public string ProviderName;
        public decimal TotalAmount;
        public string Title;

        private void ReportHeader_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e)
        {
            xrLabel_VoucherNo.Text = VoucherNo;
            xrLabel_VoucherDate.Text = VoucherDate.ToShortDateString();
            xrLabel_Provider.Text = ProviderName;
            xrLabel_Employee.Text = EmployeeName;
            xrLabel_InputMethod.Text = InputMethod;
            xrLabel_PaymentMethod.Text = PaymentMethod;
            xrLabel_title.Text = Title;
            }
    }
}
